public record Pet(Integer id, String name, PetEnum petEnum) {

    public static void main(String[] args) {
        System.out.println(new Pet(1, "cat", PetEnum.CAT));
    }
}


